platform_license_expiry
Configuration for MPX/SDX Platform license Expiry Information resource.
Read/write properties
host_id<String>
Host ID of the device.
serialnumber<String>
Serial Number of the device.
ip_address<String>
Ip address of the MPX/SDX device.
expirydays<Integer>
No of days for license expiry.
hostname<String>
Hostname of the device.
instance_state<String>
State of device, UP only if device accessible.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/platform_license_expiry
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "platform_license_expiry":[{
"host_id":<String_value>,
"serialnumber":<String_value>,
"ip_address":<String_value>,
"expirydays":<Integer_value>,
"hostname":<String_value>,
"instance_state":<String_value>}]}